package com.qidianit.mes.pro.mapper;

import com.qidianit.mes.pojo.pro.Process;
import com.qidianit.mes.pojo.pro.ProschedueTask;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description:
 * @Author: YanJiRan
 * @Date: 2025/9/24 - 下午6:46
 */
public interface ProschedueTaskMapper {
    List<ProschedueTask> selectListByWorkflowId(Long id);
    /**
     *
     * @param proschedueTask
     * @return
     */
    List<ProschedueTask> selectList(ProschedueTask proschedueTask);

    /**
     *
     * @param proschedueTask
     * @return
     */
    int saveProschedueTask(ProschedueTask proschedueTask);

    /**
     *
     * @param id
     * @return
     */
    ProschedueTask selectById(Long id);

    /**
     *
     * @param proschedueTask
     * @return
     */
    int updateById(ProschedueTask proschedueTask);

    /**
     *
     * @param id
     * @return
     */
    int deleteById(Long id);

    /**
     *
     * @param ids
     * @return
     */
    int batchDelete(@Param("ids") Long[] ids);
}
